/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.commons.web.validate;

import java.lang.annotation.*;

/**
 * @author Jasmine
 * @version 1.0
 * @date 2021-01-27 8:42:42
 * @see Field
 * @since JDK1.8
 */
@Documented
@Target(ElementType.METHOD)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface Field {

    String name() default "";

    Rule[] rules() default {@Rule};
}
